]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screencast: Correct expected bus name for streams
authorSimon McVittie <smcv@debian.org>
Mon, 6 May 2024 20:58:09 +0000 (21:58 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 7 May 2024 18:18:23 +0000 (20:18 +0200)
Previously, this only worked because GDBusConnection was not filtering
signals by their sender correctly (GNOME/glib#3268).

Thanks: Alicia Boya García
Signed-off-by: Simon McVittie <smcv@debian.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303>
(cherry picked from commit 50a011a19dcc6997ea6173c07bb80b2d9888d363)

js/dbusServices/screencast/screencastService.js

index d664a51b08316b47c1f6e4d61dd3d9b6147e8fb7..0645811fa0ae82d56d1eea23f4919312ff6fc6cd 100644 (file)
@@ -340,7 +340,7 @@ class Recorder extends Signals.EventEmitter {
                 });
 
             this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session,
-                'org.gnome.ScreenCast.Stream',
+                'org.gnome.Mutter.ScreenCast',
                 streamPath);
 
             this._streamProxy.connectSignal('PipeWireStreamAdded',